<%--
  Created by IntelliJ IDEA.
  User: GSM
  Date: 2023/11/15
  Time: 10:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" import="java.util.*"%>
<html>
    <head></head>
    <center>
        <h3>用户登录</h3>
    </center>
    <body style="text-align: center;">
        <form action="${pageContext.request.contextPath }/LoginServlet" method="post">
            <table border="1" width="600px" cellpadding="0" cellspacing="0"
                   align="center">
                <tr>
                    <td height="30" align="center">用户名：</td>
                    <td>&nbsp;&nbsp; <input type="text" name="username" />${errerMsg }</td>
                </tr>
                <tr>
                    <td height="30" align="center">密 &nbsp; 码：</td>
                    <td>&nbsp;&nbsp; <input type="password" name="password" /></td>
                </tr>
                <tr>
                    <td height="35" align="center">自动登录时间</td>
                    <td><input type="radio" name="autologin" value="${60*60*24*31 }" />一个月
                        <input type="radio" name="autologin" value="${60*60*24*31*3 }" />三个月
                        <input type="radio" name="autologin" value="${60*60*24*31*6}" />半年
                        <input type="radio" name="autologin" value="${60*60*24*31*12}" />一年
                    </td>
                </tr>
                <tr>
                    <td height="30" colspan="2" align="center">
                        <input type="submit" value="登录" /> &nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="reset" value="重置" />
                    </td>
                </tr>
            </table>
        </form>
    </body>
<html>

